package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import lombok.*;

/**
    * 寄存信息表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@TableName(value = "yx_funeral_tomb_deposit")
public class TombDeposit {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 组织id
     */
    @TableField(value = "organ_id")
    private String organId;

    /**
     * 寄存证编号
     */
    @TableField(value = "deposit_no")
    private String depositNo;

    /**
     * 逝者id（,号分隔）
     */
    @TableField(value = "all_dead_id")
    private String allDeadId;

    /**
     * 寄存位置id  墓地id
     */
    @TableField(value = "tomb_id")
    private String tombId;

    /**
     * 寄存位置
     */
    @TableField(value = "deposit_location")
    private String depositLocation;

    /**
     * 寄存开始时间
     */
    @TableField(value = "deposit_start")
    private Date depositStart;

    /**
     * 寄存到期时间
     */
    @TableField(value = "deposit_end")
    private Date depositEnd;

    /**
     * 寄存预定时间
     */
    @TableField(value = "reserve_time")
    private Date reserveTime;

    /**
     * 寄存数量
     */
    @TableField(value = "deposit_count")
    private BigDecimal depositCount;

    /**
     * 寄存状态(1：寄存 2：迁出 3：预定 4：位置变更 5：取消预定 6：预定已寄存)

     */
    @TableField(value = "deposit_status")
    private Integer depositStatus;

    /**
     * 家属姓名
     */
    @TableField(value = "relation_name")
    private String relationName;

    /**
     * 家属证件类型
     */
    @TableField(value = "relation_id_type")
    private Integer relationIdType;

    /**
     * 家属证件号码
     */
    @TableField(value = "relation_id_card")
    private String relationIdCard;

    /**
     * 家属联系电话
     */
    @TableField(value = "relation_phone")
    private String relationPhone;

    /**
     * 家属家庭住址
     */
    @TableField(value = "relation_address")
    private String relationAddress;

    /**
     * 与逝者关系
     */
    @TableField(value = "dead_relation")
    private String deadRelation;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 骨灰去向
     */
    @TableField(value = "bone_ash_gone")
    private String boneAshGone;

    /**
     * 迁出业务员
     */
    @TableField(value = "quit_user_id")
    private String quitUserId;

    /**
     * 迁出时间
     */
    @TableField(value = "quit_time")
    private Date quitTime;

    /**
     * 确认寄存
     */
    @TableField(value = "whether_deposit")
    private Integer whetherDeposit;

    public static final String COL_ID = "id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";

    public static final String COL_DEPOSIT_NO = "deposit_no";

    public static final String COL_ALL_DEAD_ID = "all_dead_id";

    public static final String COL_TOMB_ID = "tomb_id";

    public static final String COL_DEPOSIT_LOCATION = "deposit_location";

    public static final String COL_DEPOSIT_START = "deposit_start";

    public static final String COL_DEPOSIT_END = "deposit_end";

    public static final String COL_RESERVE_TIME = "reserve_time";

    public static final String COL_DEPOSIT_COUNT = "deposit_count";

    public static final String COL_DEPOSIT_STATUS = "deposit_status";

    public static final String COL_RELATION_NAME = "relation_name";

    public static final String COL_RELATION_ID_TYPE = "relation_id_type";

    public static final String COL_RELATION_ID_CARD = "relation_id_card";

    public static final String COL_RELATION_PHONE = "relation_phone";

    public static final String COL_RELATION_ADDRESS = "relation_address";

    public static final String COL_DEAD_RELATION = "dead_relation";

    public static final String COL_REMARK = "remark";

    public static final String COL_BONE_ASH_GONE = "bone_ash_gone";

    public static final String COL_QUIT_USER_ID = "quit_user_id";

    public static final String COL_QUIT_TIME = "quit_time";

    public static final String COL_WHETHER_DEPOSIT = "whether_deposit";
}